import request from "src/util/request";

// 登录
export const getLogins = (data) => {
  return request("/api/login", { method: "POST", data: data });
};
// 获取用户信息
export const getUserInfo = () => {
  return request("/api/userinfo", { method: "GET" });
};
